package com.deer.remote.server.app;

import javax.servlet.ServletRequestEvent;
import javax.servlet.ServletRequestListener;
import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Component;

/**
 * Created by matrixy on 2018/5/16.
 */
@Component
public class RequestListener implements ServletRequestListener {
	public void requestInitialized(ServletRequestEvent sre) {
		((HttpServletRequest) sre.getServletRequest()).getSession();
	}

	public RequestListener() {

	}

	public void requestDestroyed(ServletRequestEvent arg0) {

	}
}